package mybatis.pojo;

/**
 * @Author 汤舒青
 * @Version 1.0
 */


public class Student2  extends Student{
    private String  gname;

    public Student2() {
    }


    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    @Override
    public String toString() {
        return "Student2{" +
                "gname='" + gname + '\'' +","+
                super.toString()+
                '}';
    }
}
